class gb_runtime_exception(Exception):
    def __init__ (self,log,orig_except=None,event="Unknown",workstate=None):
        self.log = str(log)
        self.orig = orig_except
        self.event = event
        self.workstate = workstate
    def __str__(self):
        return self.log

class gb_scripting_exception(gb_runtime_exception):
    pass

class game_event(Exception):
    def __init__(self,instructions):
        self.instruction = instructions


class exit_game(Exception):
    pass
